/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.action;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.Action;
import javax.swing.KeyStroke;
import javax.swing.text.StyledEditorKit;
import vical.model.Internationalization;

/**
 * The copy action
 * @author Can
 */
public class CopyAction extends StyledEditorKit.CopyAction {

    public CopyAction() {
        putValue(Action.NAME, Internationalization.getString("copy"));
        putValue(Action.ACCELERATOR_KEY,
                KeyStroke.getKeyStroke(KeyEvent.VK_C, ActionEvent.CTRL_MASK));
    }
}
